Skip to content

fix: properly handle public link share deletion - #1823

Merged
artonge merged 1 commit into
masterfrom
pulsejet/fix-link-del
May 22, 2023
Merged

fix: properly handle public link share deletion#1823
artonge merged 1 commit into
masterfrom
pulsejet/fix-link-del

Conversation

@pulsejet

Copy link
Copy Markdown
Member

IShare::getSharedWith returns null for public links, and so AlbumMapper::removeFileWithOwner throws a TypeError (500)

@pulsejet pulsejet added bug Something isn't working 3. to review Waiting for reviews feature: albums Related to the albums section labels May 22, 2023
@pulsejet
pulsejet requested review from artonge and skjnldsv May 22, 2023 21:34
IShare::getSharedWith returns null for public links, and so
AlbumMapper::removeFileWithOwner throws a TypeError (500)

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
@pulsejet
pulsejet force-pushed the pulsejet/fix-link-del branch from 1536dfb to ed48a3f Compare May 22, 2023 21:34
@artonge artonge added this to the Nextcloud 28 milestone May 22, 2023
@artonge

artonge commented May 22, 2023

Copy link
Copy Markdown
Collaborator

/backport to stable27

@backportbot-nextcloud backportbot-nextcloud Bot added the backport-request Pending backport by the backport-bot label May 22, 2023
@artonge
artonge merged commit f3c095b into master May 22, 2023
@artonge
artonge deleted the pulsejet/fix-link-del branch May 22, 2023 21:44
@artonge

artonge commented May 22, 2023

Copy link
Copy Markdown
Collaborator

/backport to stable26

@nextcloud nextcloud deleted a comment from backportbot-nextcloud Bot May 22, 2023
@backportbot-nextcloud

Copy link
Copy Markdown

The backport to stable26 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable26
git pull origin/stable26

# Create the new backport branch
git checkout -b fix/foo-stable26

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts. Resolve them.
git cherry-pick abc123

# Push the cherry pick commit to the remote repository and open a pull request
git push origin fix/foo-stable26

More info at https://docs.nextcloud.com/server/latest/developer_manual/getting_started/development_process.html#manual-backport

@artonge

artonge commented May 23, 2023

Copy link
Copy Markdown
Collaborator

Ah, not applicable to stable26, so not backporting

@artonge

artonge commented Jun 6, 2023

Copy link
Copy Markdown
Collaborator

/backport to stable26

@artonge

artonge commented Jun 6, 2023

Copy link
Copy Markdown
Collaborator

/backport to stable25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug Something isn't working feature: albums Related to the albums section

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants